package com.my.chapter2;

import java.math.BigInteger;
import java.time.Instant;
import java.util.Collections;
import java.util.Date;
import java.util.List;

/**
 * @author: marshal
 * @date: 2021-09-14 3:00 PM
 */
public class CollectionsTest {
    public static void main(String[] args) {
        List<Integer> nums = List.of(1, 2, 3, 4, 5);
        Integer max = Collections.max(nums);
        System.out.println(max);
        Date date = Date.from(Instant.now());
        System.out.println(date);
        BigInteger bigInteger = BigInteger.valueOf(Integer.MAX_VALUE);
    }
}
